package com.opal.system.entity.table;

import java.util.Date;

public class OpalPermission {
    private Long permissionId;

    private String permissionName;

    private String permissionUrl;

    private String permissionCode;

    private String permissionDescription;

    private Date permissionCreated;

    private Date permissionUpdated;

    private Long roleId;

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public String getPermissionUrl() {
        return permissionUrl;
    }

    public void setPermissionUrl(String permissionUrl) {
        this.permissionUrl = permissionUrl == null ? null : permissionUrl.trim();
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode == null ? null : permissionCode.trim();
    }

    public String getPermissionDescription() {
        return permissionDescription;
    }

    public void setPermissionDescription(String permissionDescription) {
        this.permissionDescription = permissionDescription == null ? null : permissionDescription.trim();
    }

    public Date getPermissionCreated() {
        return permissionCreated;
    }

    public void setPermissionCreated(Date permissionCreated) {
        this.permissionCreated = permissionCreated;
    }

    public Date getPermissionUpdated() {
        return permissionUpdated;
    }

    public void setPermissionUpdated(Date permissionUpdated) {
        this.permissionUpdated = permissionUpdated;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}